package com.bdqn.web.service;

import com.bdqn.web.dao.CommentMapper;
import com.bdqn.web.entity.Comment;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CommentService {

    @Autowired
    CommentMapper commentMapper;

    public List<Comment> selectAllComment(){
        return commentMapper.selectAll();
    }
}
